package com.snopy.designPattern.create.builder;

import com.snopy.designPattern.create.builder.element.Chip;
import com.snopy.designPattern.create.builder.element.Outward;
import com.snopy.designPattern.create.builder.element.Screen;
import lombok.Getter;
import lombok.Setter;

/**
 * @author snopy
 * @version 1.0.0
 * @classname Phone
 * @description
 * @email 77912204@qq.com
 * @date 2022/03/01 19:58
 */
@Setter
@Getter
public class Phone {
    private Screen screen;
    private Chip chip;
    private Outward outward;

    @Override
    public String toString() {
        return "Phone{" +
                "screen=" + screen.toString() +
                ", chip=" + chip.toString() +
                ", outward=" + outward.toString() +
                '}';
    }
}
